package com.xiaoyang.system.domain.question.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class QuestionDetailVO {

    /**
     * 题目ID
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long questionId;

    /**
     * 题目标题
     */
    private String title;

    /**
     * 题目难度
     */
    private Integer difficulty;

    /**
     * 时间限制
     */
    private Long timeLimit;

    /**
     * 空间限制
     */
    private Long spaceLimit;

    /**
     * 题目内容
     */
    private String content;

    /**
     * 样例
     */
    private String questionCase;

    /**
     * 默认代码
     */
    private String defaultCode;

    /**
     * 主函数
     */
    private String mainFuc;
}
